package com.frxuexi.soufang

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.alibaba.android.arouter.facade.annotation.Autowired
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import com.frxuexi.soufang.databinding.ActivityUserPreBinding

@Route(path = "/soufang/UserPreActivity")
class UserPreActivity : AppCompatActivity() {
    lateinit var binding:ActivityUserPreBinding

    @Autowired
    lateinit var url:String
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        binding=ActivityUserPreBinding.inflate(layoutInflater)
        setContentView(binding.root)
        ARouter.getInstance().inject(this)

        binding.webview.loadUrl(url)
    }
}